export const options = [
  {
    value: 1.95,
    label: '小汽车线宽/1.95米',
  },
  {
    value: 2,
    label: '小型货车、中巴线宽/2米',
  },
  {
    value: 2.5,
    label: '大型货车、大巴线宽/2.5米',
  },
  {
    value: 3.5,
    label: '车辆线宽/3.5米',
  },
]
export const lineTypeOptions = [
  {
    value: 'solid',
    label:'实线'
  },
  {
    value:'dashed',
    label:'虚线'
  },
  {
    value:'arrow',
    label:'说明注记'
  },
  {
    value:'doubleArrow',
    label:'距离标注'
  }
]

export const annotationOptions = [
  {
    value: 'point',
    label: '点',
    disabled: true
  },
  {
    value: 'line',
    label: '线'
  },
  {
    value: 'rectangle',
    label: '矩形',
    disabled: true
  },
  {
    value: 'rectangle',
    label: '多边形',
    disabled: true
  }
]


export type infoType = {
  id: string;
  startX: number;
  startY: number;
  endX: number;
  endY: number;
  long: number;
  translateX: number;
  translateY: number;
  scale: number;
  lineColor: string;
  fontColor: string;
  lineType: null | string;
  lineWidth:number;
  lineText: string;
  fontSize: number;
}